<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<%@ page session="false" %>

<!-- Le styles -->

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
  <!--<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>-->
<![endif]-->
<script src="<c:url value="/resources/common/js/jquery-1.11.1.min.js" />"></script>
<%--<script src="<c:url value="/resources/js/jquery.showLoading.min.js" />"></script>--%>
<script src="<c:url value="/resources/common/js/bootstrap.min.js" />"></script>
<%--<script src="<c:url value="/resources/js/extlib/bootstrap-table.js" />"></script>--%>
<%--<script src="<c:url value="/resources/common/js/moment.js" />"></script>--%>
<%--<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>--%>
<%--<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>--%>
<script src="//cdn.bootcss.com/moment.js/2.10.6/moment.min.js"></script>
<script src="<c:url value="/resources/common/js/bootstrap-datetimepicker.min.js" />"></script>
<script src="//cdn.bootcss.com/metisMenu/2.2.0/metisMenu.min.js"></script>

<%--<script src="<c:url value="/resources/common/js/bootstrap-datepicker.js" />"></script>--%>
<script src="<c:url value="/resources/common/js/bootstrapValidator.min.js" />"></script>

<script src="<c:url value="/resources/common/js/zh.js" />"></script>
<script src="<c:url value="/resources/common/js/jquery.cxselect.min.js" />"></script>
<script src="<c:url value="/resources/common/js/less.min.js"/>"></script>
<script src="<c:url value="/resources/common/js/jquery.alphanumeric.pack.js"/>"></script>
<script src="<c:url value="/resources/js/main.min.js"/>"></script>


<script>
    function getContextPath() {
        return "${pageContext.request.contextPath}";
    }

    function getItemLabel(quantity) {
        var labelItem = '<s:message code="label.generic.item" text="item" />';
        if (quantity > 1) {
            labelItem = '<s:message code="label.generic.items" text="items" />';
        }
        return labelItem;
    }
</script>


